package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.StudentClassDao;
import com.totoro.domain.StudentClass;

@Transactional
@Service
public class StudentClassService extends BaseService<StudentClass, Integer>{

	private StudentClassDao studentClassDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<StudentClass, Integer> studentClassDao) {
		// TODO Auto-generated method stub
		this.baseDao = studentClassDao;
		this.studentClassDao = (StudentClassDao) studentClassDao;
	}

}
